package com.qianhui.orderapi.tenpay;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlRootElement(name = "root")
@XmlType(name = "MchCustomQueryResponse", propOrder = {"sign_type", "service_version", "input_charset", "sign", "sign_key_index", "retcode", "retmsg", "partner", "out_trade_no", "transaction_id", "count", "sub_order_no", "sub_order_id", "mch_customs_no", "customs", "cert_type", "cert_id", "name", "fee_type", "order_fee", "transport_fee", "product_fee", "duty", "state", "modify_time", "business_type", "explanation"})
public class MchCustomQueryResponse
{
    /**
     * 签名类型，取值：MD5、RSA，默认：MD5
     */
    private String sign_type;
    private String service_version;
    private String input_charset;
    private String sign;
    private String sign_key_index;
    private String retcode;
    private String retmsg;
    private String partner;
    private String out_trade_no;
    private String transaction_id;
    private String count;
    private String sub_order_no;
    private String sub_order_id;
    private String mch_customs_no;
    private String customs;
    private String cert_type;
    private String cert_id;
    private String name;
    private String fee_type;
    private String order_fee;
    private String transport_fee;
    private String product_fee;
    private String duty;
    private String state;
    private String modify_time;
    private String business_type;
    private String explanation;

    public MchCustomQueryResponse()
    {
        super();
        // TODO Auto-generated constructor stub
    }

    public MchCustomQueryResponse(String sign_type, String service_version, String input_charset, String sign, String sign_key_index, String retcode, String retmsg, String partner, String out_trade_no, String transaction_id, String count, String sub_order_no, String sub_order_id, String mch_customs_no, String customs, String cert_type, String cert_id, String name, String fee_type, String order_fee, String transport_fee, String product_fee, String duty, String state, String modify_time, String business_type, String explanation)
    {
        super();
        this.sign_type = sign_type;
        this.service_version = service_version;
        this.input_charset = input_charset;
        this.sign = sign;
        this.sign_key_index = sign_key_index;
        this.retcode = retcode;
        this.retmsg = retmsg;
        this.partner = partner;
        this.out_trade_no = out_trade_no;
        this.transaction_id = transaction_id;
        this.count = count;
        this.sub_order_no = sub_order_no;
        this.sub_order_id = sub_order_id;
        this.mch_customs_no = mch_customs_no;
        this.customs = customs;
        this.cert_type = cert_type;
        this.cert_id = cert_id;
        this.name = name;
        this.fee_type = fee_type;
        this.order_fee = order_fee;
        this.transport_fee = transport_fee;
        this.product_fee = product_fee;
        this.duty = duty;
        this.state = state;
        this.modify_time = modify_time;
        this.business_type = business_type;
        this.explanation = explanation;
    }

    @XmlElement(name = "sign_type")
    public String getSign_type()
    {
        return sign_type;
    }

    public void setSign_type(String sign_type)
    {
        this.sign_type = sign_type;
    }

    @XmlElement(name = "service_version")
    public String getService_version()
    {
        return service_version;
    }

    public void setService_version(String service_version)
    {
        this.service_version = service_version;
    }

    @XmlElement(name = "input_charset")
    public String getInput_charset()
    {
        return input_charset;
    }

    public void setInput_charset(String input_charset)
    {
        this.input_charset = input_charset;
    }

    @XmlElement(name = "sign")
    public String getSign()
    {
        return sign;
    }

    public void setSign(String sign)
    {
        this.sign = sign;
    }

    @XmlElement(name = "sign_key_index")
    public String getSign_key_index()
    {
        return sign_key_index;
    }

    public void setSign_key_index(String sign_key_index)
    {
        this.sign_key_index = sign_key_index;
    }

    @XmlElement(name = "retcode")
    public String getRetcode()
    {
        return retcode;
    }

    public void setRetcode(String retcode)
    {
        this.retcode = retcode;
    }

    @XmlElement(name = "retmsg")
    public String getRetmsg()
    {
        return retmsg;
    }

    public void setRetmsg(String retmsg)
    {
        this.retmsg = retmsg;
    }

    @XmlElement(name = "partner")
    public String getPartner()
    {
        return partner;
    }

    public void setPartner(String partner)
    {
        this.partner = partner;
    }

    @XmlElement(name = "out_trade_no")
    public String getOut_trade_no()
    {
        return out_trade_no;
    }

    public void setOut_trade_no(String out_trade_no)
    {
        this.out_trade_no = out_trade_no;
    }

    @XmlElement(name = "transaction_id")
    public String getTransaction_id()
    {
        return transaction_id;
    }

    public void setTransaction_id(String transaction_id)
    {
        this.transaction_id = transaction_id;
    }

    @XmlElement(name = "count")
    public String getCount()
    {
        return count;
    }

    public void setCount(String count)
    {
        this.count = count;
    }

    @XmlElement(name = "sub_order_no_0")
    public String getSub_order_no()
    {
        return sub_order_no;
    }

    public void setSub_order_no(String sub_order_no)
    {
        this.sub_order_no = sub_order_no;
    }

    @XmlElement(name = "sub_order_id_0")
    public String getSub_order_id()
    {
        return sub_order_id;
    }

    public void setSub_order_id(String sub_order_id)
    {
        this.sub_order_id = sub_order_id;
    }

    @XmlElement(name = "mch_customs_no_0")
    public String getMch_customs_no()
    {
        return mch_customs_no;
    }

    public void setMch_customs_no(String mch_customs_no)
    {
        this.mch_customs_no = mch_customs_no;
    }

    @XmlElement(name = "customs_0")
    public String getCustoms()
    {
        return customs;
    }

    public void setCustoms(String customs)
    {
        this.customs = customs;
    }

    @XmlElement(name = "cert_type_0")
    public String getCert_type()
    {
        return cert_type;
    }

    public void setCert_type(String cert_type)
    {
        this.cert_type = cert_type;
    }

    @XmlElement(name = "cert_id_0")
    public String getCert_id()
    {
        return cert_id;
    }

    public void setCert_id(String cert_id)
    {
        this.cert_id = cert_id;
    }

    @XmlElement(name = "name_0")
    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    @XmlElement(name = "fee_type_0")
    public String getFee_type()
    {
        return fee_type;
    }

    public void setFee_type(String fee_type)
    {
        this.fee_type = fee_type;
    }

    @XmlElement(name = "order_fee_0")
    public String getOrder_fee()
    {
        return order_fee;
    }

    public void setOrder_fee(String order_fee)
    {
        this.order_fee = order_fee;
    }

    @XmlElement(name = "transport_fee_0")
    public String getTransport_fee()
    {
        return transport_fee;
    }

    public void setTransport_fee(String transport_fee)
    {
        this.transport_fee = transport_fee;
    }

    @XmlElement(name = "product_fee_0")
    public String getProduct_fee()
    {
        return product_fee;
    }

    public void setProduct_fee(String product_fee)
    {
        this.product_fee = product_fee;
    }

    @XmlElement(name = "duty_0")
    public String getDuty()
    {
        return duty;
    }

    public void setDuty(String duty)
    {
        this.duty = duty;
    }

    @XmlElement(name = "state_0")
    public String getState()
    {
        return state;
    }

    public void setState(String state)
    {
        this.state = state;
    }

    @XmlElement(name = "modify_time_0")
    public String getModify_time()
    {
        return modify_time;
    }

    public void setModify_time(String modify_time)
    {
        this.modify_time = modify_time;
    }

    @XmlElement(name = "business_type_0")
    public String getBusiness_type()
    {
        return business_type;
    }

    public void setBusiness_type(String business_type)
    {
        this.business_type = business_type;
    }

    @XmlElement(name = "explanation_0")
    public String getExplanation()
    {
        return explanation;
    }

    public void setExplanation(String explanation)
    {
        this.explanation = explanation;
    }

    @Override
    public String toString()
    {
        return "MchCustomQueryResponse [sign_type=" + sign_type + ", service_version=" + service_version + ", input_charset=" + input_charset + ", sign=" + sign + ", sign_key_index=" + sign_key_index + ", retcode=" + retcode + ", retmsg=" + retmsg + ", partner=" + partner + ", out_trade_no=" + out_trade_no + ", transaction_id=" + transaction_id + ", count=" + count + ", sub_order_no=" + sub_order_no + ", sub_order_id=" + sub_order_id + ", mch_customs_no=" + mch_customs_no + ", customs=" + customs + ", cert_type=" + cert_type + ", cert_id=" + cert_id + ", name=" + name + ", fee_type=" + fee_type + ", order_fee=" + order_fee + ", transport_fee=" + transport_fee + ", product_fee=" + product_fee + ", duty=" + duty + ", state=" + state + ", modify_time=" + modify_time + ", business_type=" + business_type + ", explanation=" + explanation + "]";
    }

}
